<!doctype html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
		<title>弹窗-小懒猫</title>
		<meta name="keywords" content="关键字,关键字"/>
		<meta name="description" content="描述信息">
		<link rel="stylesheet" href="css/common.css" />
		<style type="text/css">
			.overflow{
				width: 100%;
				height: 100%;
				background: #ccc;
				position: absolute;
			}
			.dialog{
				width: 300px;
				height: 160px;
				background: #9f793a;
				position: absolute;
				color: #fff;
				left: 50%;
				top: calc(50% - 100px);
				margin-left: -150px;
				z-index: 2;
				padding: 10px 20px;
			}
			a{
				padding:0px 20px;
			}
		</style>
	</head>
	<body>
		<div class="dialog">
			<a href="javascript:void(0);">保存</a>
			<a href="javascript:void(0);">取消</a>
		</div>
		<div class="overflow"></div>
		<script type="text/javascript">
			function log(msg){
				return console.log(msg);
			}
			var mkDialog = {
				init: function(){
					log("初始化...")
				}
			}
			mkDialog.init();
		</script>
	</body>
</html>
